<!-- <#include "/component/pagination.html" /> -->
<table class="table table-striped table-hover">
	<thead>
		<tr>
			<th width="3%" scope="col"><input
				id="checkAllBuckets" type="checkbox" value="" /></th>
			<th width="15%" scope="col">桶名</th>
			<th width="15%" scope="col">池</th>
			<!-- <th width="15%" scope="col">默认池</th>
			<th width="15%" scope="col">id</th>
			<th width="15%" scope="col">marker</th> -->
			<th width="15%" scope="col">owner</th>
			<!-- <th width="20%" scope="col">ver</th>
			<th width="20%" scope="col">master_ver</th> -->
			<!-- <th width="20%" scope="col">mtime</th> -->
			<!-- <th width="20%" scope="col">max_marker</th> -->
			<!-- <th width="20%" scope="col">usage</th> -->
			<th width="20%" scope="col">bucket_quota</th>
		</tr>
	</thead>
	<tbody>
		<#list buckets as item>
		<tr <#if ((item_index+1) % 2 == 0) >class="oddrow"</#if>>
		    <td class="c"><input name="bucketId" type="checkbox" value="${item.params.bucket!}" /></td>
	        <td id="bucketName">${item.params.bucket!}</td>
	        <td>${item.params.pool!}</td>
	        <td>${item.params.owner!}</td>
	        <td>enabled:${item.params.bucket_quota.enabled!}max_size_kb:${item.params.bucket_quota.max_size_kb!}&nbsp;&nbsp;max_object:${item.params.bucket_quota.max_objects!}</td>  
	    </tr>
		</#list>
	</tbody>
</table>
<script>$("#checkAllBuckets").checkall({itemName : "bucketId"});</script>